package com.service.member.impl;

import com.bean.Mb_account;
import com.bean.Member;
import com.dao.Mb_accountMapper;
import com.dao.MemberMapper;
import com.service.core.AbstractService;
import com.service.member.MbAccountService;
import com.service.member.MemberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2017/9/10.
 */
@Service
public class MbAccountServiceImpl extends AbstractService<Mb_account, Integer> implements MbAccountService {
	@Autowired
	private Mb_accountMapper mb_accountMapper;

	@Override
	public Mb_account selectByMemberId(Integer mid) {
		return mb_accountMapper.selectByMemberId(mid);
	}

	@Override
	public Mb_account selectByMerchantId(Integer id) {
		return mb_accountMapper.selectByMerchantId(id);
	}
}
